<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| This route group applies the "web" middleware group to every route
| it contains. The "web" middleware group is defined in your HTTP
| kernel and includes session state, CSRF protection, and more.
|
*/
Route::get('/',function(){
    return view('welcome');
});




//后台
Route::get('/admin/index',"Admin\IndexController@index");

//用户管理
Route::get('/admin/user/add','Admin\UserController@add');
